﻿using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.WeiXin
{
    public class LoginForm
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Display(Name = "用户名")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// 密码
        /// </summary>
        [Display(Name = "密码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Password { get; set; } = string.Empty;
    }
}
